package com.wt.admin.code;

import com.aizuda.easy.security.exp.IErrorCode;

public enum SysMenuCode implements IErrorCode {
    MENU_CODE_1200(1200, "菜单名称不能为空"),
    MENU_CODE_1201(1201, "菜单路径不能为空"),
    MENU_CODE_1202(1202, "id不能为空"),
    ;


    private Integer code;
    private String msg;

    SysMenuCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }

}
